#include <stdio.h>
#include "mpi.h"

int main(int argc, char *argv[]){
    int myid, numprocess;
    MPI_Init(&argc, &argv);
    MPI_Comm_rank(MPI_COMM_WORLD, &myid);
    MPI_Comm_size(MPI_COMM_WORLD, &numprocess);

    printf("Hello, mpi! I am %d of %d\n", myid, numprocess);
    MPI_Finalize();
}